package com.sh.data.engine.repository.dao.datadev.entity;


import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.*;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@TableName("tb_datadev_menunode")
public class DatadevMenuNodeEntity extends EngineBaseModel<DatadevMenuNodeEntity> {

    private String name;

    private Long pid;

    private Long projectId;

    /**
     * 1 - system 0 non system
     */
    private Integer isSystem;

    private Integer sort;

    /**
     * @see com.sh.data.engine.domain.datadev.model.enums.OfflineDevNodeTypeEnum
     */
    private Integer nodeType;

    /**
     * @see com.sh.data.engine.domain.datadev.model.enums.OfflineDevApiNodeTypeEnum
     */
    private Integer apiType;

    /**
     * 1 -冻结
     */
    private Integer isLocked;
    
    private Integer rowState;

    private String remark;

    /**
     * xxl-job中的任务id，工作流配置了调度时才会生成
     */
    private Integer xxlJobId;

    // 发布时间跟着工作流id走
    private Date publishTime;
}
